package com.yami.shop.service;

import com.alipay.api.AlipayApiException;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.binarywang.wxpay.exception.WxPayException;
import com.yami.shop.bean.model.ShopDetail;
import com.yami.shop.bean.model.ShopRecharge;
import com.yami.shop.bean.param.PayParam;
import com.yami.shop.common.response.ServerResponseEntity;

import javax.servlet.http.HttpServletRequest;
import java.io.UnsupportedEncodingException;

public interface ShopRechargeService extends IService<ShopRecharge> {

  ServerResponseEntity<?> doPay(ShopDetail shopDetail,PayParam payParam);

  void notify(HttpServletRequest request,String xmlData)
      throws WxPayException, AlipayApiException, UnsupportedEncodingException;


}
